package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水质监测数据对象 dispatchWaterQualityMonitoringData
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchWaterQualityMonitoringData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long waterQualityMonitoringDataId;

    /** 关联的监测站点 ID */
    @Excel(name = "关联的监测站点 ID")
    private Long waterQualityMonitoringSitesId;

    /** 关联的水质指标 ID */
    @Excel(name = "关联的水质指标 ID")
    private Long waterQualityIndicatorsId;

    /** 监测到的水质指标数据值 */
    @Excel(name = "监测到的水质指标数据值")
    private BigDecimal dataValue;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 数据记录的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据记录的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordTime;

    public void setWaterQualityMonitoringDataId(Long waterQualityMonitoringDataId) 
    {
        this.waterQualityMonitoringDataId = waterQualityMonitoringDataId;
    }

    public Long getWaterQualityMonitoringDataId() 
    {
        return waterQualityMonitoringDataId;
    }
    public void setWaterQualityMonitoringSitesId(Long waterQualityMonitoringSitesId) 
    {
        this.waterQualityMonitoringSitesId = waterQualityMonitoringSitesId;
    }

    public Long getWaterQualityMonitoringSitesId() 
    {
        return waterQualityMonitoringSitesId;
    }
    public void setWaterQualityIndicatorsId(Long waterQualityIndicatorsId) 
    {
        this.waterQualityIndicatorsId = waterQualityIndicatorsId;
    }

    public Long getWaterQualityIndicatorsId() 
    {
        return waterQualityIndicatorsId;
    }
    public void setDataValue(BigDecimal dataValue) 
    {
        this.dataValue = dataValue;
    }

    public BigDecimal getDataValue() 
    {
        return dataValue;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setRecordTime(Date recordTime) 
    {
        this.recordTime = recordTime;
    }

    public Date getRecordTime() 
    {
        return recordTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("waterQualityMonitoringDataId", getWaterQualityMonitoringDataId())
            .append("waterQualityMonitoringSitesId", getWaterQualityMonitoringSitesId())
            .append("waterQualityIndicatorsId", getWaterQualityIndicatorsId())
            .append("dataValue", getDataValue())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("recordTime", getRecordTime())
            .toString();
    }
}
